package com.blueocean_health.care.management.domain.dto;

import java.util.ArrayList;
import java.util.List;

public class ParentChildDto {
  private int id;
  private String name;
  private int parentId;
  private List<ParentChildDto> list=new ArrayList<ParentChildDto>();
  
public List<ParentChildDto> getList() {
	return list;
}

public void setList(List<ParentChildDto> list) {
	this.list = list;
}

public int getId() {
	return id;
}

public void setId(int id) {
	this.id = id;
}

public String getName() {
	return name;
}

public void setName(String name) {
	this.name = name;
}

public int getParentId() {
	return parentId;
}

public void setParentId(int parentId) {
	this.parentId = parentId;
}

public ParentChildDto() {
	super();
}

public ParentChildDto(int id, String name, int parentId) {
	super();
	this.id = id;
	this.name = name;
	this.parentId = parentId;
}


@Override
public String toString() {
	return "ParentChildDto [id=" + id + ", name=" + name + ", parentId=" + parentId + ", list=" + list + "]";
}


  
}
